
/**		
 * 
 *	uk.co.lmfm.net.subversion.events.SVNClientEvent
 *	
 *	@version 1.00 | Jan 8, 2010
 *	@author Justin Windle
 *  
 **/
 
package uk.co.lmfm.net.subversion.events 
{
	import uk.co.lmfm.net.subversion.vo.SVNLogReportVO;

	import flash.events.Event;

	/**
	 * SVNClientEvent
	 */
	public class SVNClientEvent extends Event 
	{
		//	----------------------------------------------------------------
		//	PUBLIC STATIC CONSTANTS
		//	----------------------------------------------------------------

		public static const CONNECTED : String = "connected";
		public static const LOG_REPORT_RECIEVED : String = "logReportRecieved";		public static const GOT_LATEST_REVISION_NUMBER : String = "gotLatestRevisionNumber";

		//	----------------------------------------------------------------
		//	PUBLIC MEMBERS
		//	----------------------------------------------------------------

		public var data : SVNLogReportVO;

		//	----------------------------------------------------------------
		//	CONSTRUCTOR
		//	----------------------------------------------------------------

		public function SVNClientEvent(__type : String, __data : SVNLogReportVO = null, __bubbles : Boolean = false, __cancelable : Boolean = false)
		{
			data = __data;
			super(__type, __bubbles, __cancelable);
		}

		//	----------------------------------------------------------------
		//	PUBLIC METHODS
		//	----------------------------------------------------------------

		override public function clone() : Event
		{
			return new SVNClientEvent(type, data, bubbles, cancelable);
		}
	}
}
